<?php

/**
 * @package Bike
 * @subpackage Storage
 */

/**
 * Exception for storage
 * @author Chrome
 * @package Bike
 * @subpackage Storage
 */
class Bike_Storage_Exception extends Bike_Exception {
	
	/**
	 * Writable connection is not set code
	 * @var int
	 */
	const WRITABLE_CONNECTION_IS_NOT_SET = 1;
	
	/**
	 * Readable connection is not set code
	 * @var int
	 */
	const READABLE_CONNECTION_IS_NOT_SET = 2;
	
	/**
	 * Storage name is not set
	 * @var int
	 */
	const STORAGE_NAME_IS_NOT_SET = 3;
	
	/**
	 * Incorrect arguments
	 * @var int
	 */
	const INCORRECT_ARGUMENTS_PASSED = 4;
}
